package com.stm.bi.repository.dataobject.ods;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("ods_warehouse")
public class OdsWarehouseDO {

    @TableField(value = "id")
    protected Long id;

    @TableField(value = "org_no")
    protected String orgNo;

    @TableField(value = "name")
    protected String name;

    @TableField(value = "code")
    protected String code;

    @TableField(value = "status")
    protected String status;

    @TableField(value = "dept_id")
    protected Long deptId;

    @TableField(value = "dept_name")
    protected String deptName;

    @TableField(value = "org_id")
    protected Long orgId;

    @TableField(value = "deleted", fill = FieldFill.INSERT)
    protected Integer deleted;

    public Long getId() {
        return id;
    }

    public OdsWarehouseDO setId(Long id) {
        this.id = id;
        return this;
    }

    public String getOrgNo() {
        return orgNo;
    }

    public OdsWarehouseDO setOrgNo(String orgNo) {
        this.orgNo = orgNo;
        return this;
    }

    public String getName() {
        return name;
    }

    public OdsWarehouseDO setName(String name) {
        this.name = name;
        return this;
    }

    public String getCode() {
        return code;
    }

    public OdsWarehouseDO setCode(String code) {
        this.code = code;
        return this;
    }

    public String getStatus() {
        return status;
    }

    public OdsWarehouseDO setStatus(String status) {
        this.status = status;
        return this;
    }

    public Long getDeptId() {
        return deptId;
    }

    public OdsWarehouseDO setDeptId(Long deptId) {
        this.deptId = deptId;
        return this;
    }

    public String getDeptName() {
        return deptName;
    }

    public OdsWarehouseDO setDeptName(String deptName) {
        this.deptName = deptName;
        return this;
    }

    public Long getOrgId() {
        return orgId;
    }

    public OdsWarehouseDO setOrgId(Long orgId) {
        this.orgId = orgId;
        return this;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public OdsWarehouseDO setDeleted(Integer deleted) {
        this.deleted = deleted;
        return this;
    }
}
